
package com.chinatelecom.check.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@ApiModel("CheckTable: 量表基础表")
@TableName("CHECK_TABLE")
@Getter
@Setter
public class CheckTable implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="ID")
	@TableId(type = IdType.AUTO)
	private Integer id;
	
	@ApiModelProperty(value="名称")
	@TableField(value = "NAME")
	private String name;
	
	@ApiModelProperty(value="编码")
	@TableField(value = "CODE")
	private String code;
	
	@ApiModelProperty(value="专业编码")
	@TableField(value = "PROFESSIONAL_CODE")
	private String professionalCode;
	
	@ApiModelProperty(value="量表类型")
	@TableField(value = "TYPE")
	private Integer type;
	
	@ApiModelProperty(value="题目数")
	@TableField(value = "QUESTION_NUM")
	private Integer questionNum;
	
	@ApiModelProperty(value="简介")
	@TableField(value = "GUIDE")
	private String guide;
	
	@ApiModelProperty(value="量表说明")
	@TableField(value = "DESCRIPTION")
	private String description;
	
	@ApiModelProperty(value="预计时间（分钟）")
	@TableField(value = "COST_TIME")
	private Integer costTime;
	
	@ApiModelProperty(value="简介音频地址")
	@TableField(value = "GUIDE_AUDIO_URL")
	private String guideAudioUrl;
	
	@ApiModelProperty(value="排列序号")
	@TableField(value = "SORT_CODE")
	private Integer sortCode;
	
	@ApiModelProperty(value="是否推荐")
	@TableField(value = "IS_TOP")
	private Integer isTop;
	
	@ApiModelProperty(value="推荐排序")
	@TableField(value = "TOP_SORT_CODE")
	private Integer topSortCode;
	
	@ApiModelProperty(value="创建人")
	@TableField(value = "CREATE_BY")
	private Integer createBy;
	
	@ApiModelProperty(value="创建时间")
	@TableField(value = "CREATE_TIME")
	private Date createTime;
	
	@ApiModelProperty(value="更新人")
	@TableField(value = "UPDATE_BY")
	private Integer updateBy;
	
	@ApiModelProperty(value="更新时间")
	@TableField(value = "UPDATE_TIME")
	private Date updateTime;
	
	@ApiModelProperty(value="是否删除")
	@TableField(value = "IS_DELETED")
	private Integer isDeleted;
	
	@ApiModelProperty(value="租户ID")
	@TableField(value = "TENANT_ID")
	private Integer tenantId;
	
	@ApiModelProperty(value="推荐简介")
	@TableField(value = "TOP_GUIDE")
	private String topGuide;
	
	@ApiModelProperty(value="是否是预警量表")
	@TableField(value = "IS_WARNING")
	private Integer isWarning;
	


}
